<?php
/**
 * Date: 2017/11/23
 * Time: 13:46
 * Author: zeronlee
 */

//组织机构管理
Route::get('ogzIndex', 'OgzController@index')->name('admin.ogz.index')->middleware('access.routeNeedsPermission:ogz-index');
Route::get('ogzSearch', 'OgzController@search')->name('admin.ogz.search')->middleware('access.routeNeedsPermission:ogz-index');
Route::any('ogzAdd', 'OgzController@add')->name('admin.ogz.add')->middleware('access.routeNeedsPermission:ogz-add');
Route::any('ogzUpdate', 'OgzController@update')->name('admin.ogz.update')->middleware('access.routeNeedsPermission:ogz-update');
Route::any('ogzDelete', 'OgzController@delete')->name('admin.ogz.delete')->middleware('access.routeNeedsPermission:ogz-delete');
Route::any('ogzActive', 'OgzController@active')->name('admin.ogz.active')->middleware('access.routeNeedsPermission:ogz-restore');